PHY CLOTH RAY CAST HIT X

Find out the hit point on the X axis at which the ray cast hit the cloth object.

  Syntax
Return Float=PHY CLOTH RAY CAST HIT X(ID)
  Parameters
ID
Integer
identification number of the cloth object

  Returns

hit point on X axis

  Description

When a ray cast operation has been performed on a cloth object then certain information is stored to one side. To access the hit point on the X axis use this command. It will return the point on the X axis at which the ray cast collided with the specified cloth object.

  Example Code
No example code is provided for this command